package gui;

import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.JPanel;
import main.Defines;

public class MainScreen extends JPanel {
    public MainScreen() {
        setPreferredSize(new Dimension(Defines.WIDTH, Defines.HEIGHT));
        setMinimumSize(new Dimension(Defines.WIDTH, Defines.HEIGHT));
        setMaximumSize(new Dimension(Defines.WIDTH, Defines.HEIGHT));
    }
    
    @Override
    public void paint(Graphics g) {
        g.drawString("Hello World!", 20, 20);
    }
}